{% extends 'base.html' %}

{% block title %}登录 - 禅道项目管理系统{% endblock %}

{% block content %}
<div class="login-container">
    <div class="login-background">
        <div class="login-box">
            <div class="login-header">
                <div class="logo">
                    <i class="fas fa-project-diagram"></i>
                    <h1>禅道</h1>
                </div>
                <p class="subtitle">项目管理系统</p>
            </div>
            
            <form class="login-form" action="{% url 'login_app:dashboard' %}" method="get">
                <div class="form-group">
                    <label for="username">
                        <i class="fas fa-user"></i>
                        用户名
                    </label>
                    <input type="text" id="username" name="username" placeholder="请输入用户名" required>
                </div>
                
                <div class="form-group">
                    <label for="password">
                        <i class="fas fa-lock"></i>
                        密码
                    </label>
                    <input type="password" id="password" name="password" placeholder="请输入密码" required>
                </div>
                
                <div class="form-options">
                    <label class="remember-me">
                        <input type="checkbox" name="remember">
                        <span class="checkmark"></span>
                        记住我
                    </label>
                    <a href="#" class="forgot-password">忘记密码？</a>
                </div>
                
                <button type="submit" class="login-btn">
                    <i class="fas fa-sign-in-alt"></i>
                    登录
                </button>
            </form>
            
            <div class="login-footer">
                <div class="language-switch">
                    <a href="#" class="active">中文</a>
                    <span>|</span>
                    <a href="#">English</a>
                </div>
                <div class="version-info">
                    <p>禅道项目管理系统 v18.8</p>
                </div>
            </div>
        </div>
        
        <div class="features-panel">
            <h3>为什么选择禅道？</h3>
            <div class="feature-list">
                <div class="feature-item">
                    <i class="fas fa-tasks"></i>
                    <div>
                        <h4>项目管理</h4>
                        <p>完整的项目生命周期管理</p>
                    </div>
                </div>
                <div class="feature-item">
                    <i class="fas fa-bug"></i>
                    <div>
                        <h4>缺陷跟踪</h4>
                        <p>高效的缺陷管理和跟踪</p>
                    </div>
                </div>
                <div class="feature-item">
                    <i class="fas fa-chart-line"></i>
                    <div>
                        <h4>统计报表</h4>
                        <p>丰富的数据统计和分析</p>
                    </div>
                </div>
                <div class="feature-item">
                    <i class="fas fa-users"></i>
                    <div>
                        <h4>团队协作</h4>
                        <p>促进团队高效协作</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}